package com.example.xpvideo.entity.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 本地生活列表
 *
 * @author : 洪俊新
 * @date : 2021/8/24 11:27
 * @description:
 */
public class PhpLocalMerchantsRes {
    /**
     *主键
     * id
     * isnull 1
     */
    private Integer id;
    /**
     *店铺id
     * id
     * isnull 1
     */
    private Integer shopId;
    /**
     * 商家LOGO
     * isnull 0
     */            private String logo;
    /**
     * 商家名称
     * isnull 0
     */            private String name;

    /**
     * 店铺名称（本地生活和供应商城商户必传）
     * isnull 0
     */        @ApiModelProperty(value="店铺名称（本地生活和供应商城商户必传）",position=45)
    private String shopName;

    /**
     * 商圈名
     * isnull 0
     */            private String businessDistrictName;
    /**
     * 省名称
     * isnull 0
     */            private String provinceName;
    /**
     * 市名称
     * isnull 0
     */            private String cityName;
    /**
     * 县区名称
     * isnull 0
     */            private String streetName;

    /**
     * 商家类型[1=供应商城商户, 2=本地生活商家]
     * isnull 0
     */            private Integer type;
    /**
     * 运营类型；1个人；2企业
     * isnull 0
     */            private Integer operationType;

    /**
     * 绑定手机号
     * isnull 0
     */            private String phone;
    /**
     * 是否禁用：0-否；1-是；
     * isnull 0
     */            private Integer disable;
    /**
     * 创建时间
     * isnull 0
     */        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String createTime;

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBusinessDistrictName() {
        return businessDistrictName;
    }

    public void setBusinessDistrictName(String businessDistrictName) {
        this.businessDistrictName = businessDistrictName;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getStreetName() {
        return streetName;
    }

    public void setStreetName(String streetName) {
        this.streetName = streetName;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getOperationType() {
        return operationType;
    }

    public void setOperationType(Integer operationType) {
        this.operationType = operationType;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getDisable() {
        return disable;
    }

    public void setDisable(Integer disable) {
        this.disable = disable;
    }
}
